home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / nwlib15.zip / SOURCE.ZIP / NWNDS.INT < prev    next >
Text File  |  1996-06-08  |  2KB  |  63 lines

  1. { *************** NDS API Calls for NWLIB ****************
  2.  
  3.   Developed with Novell Inc.'s Client SDK for C SDK Mar-Dec 1995.
  4.  
  5.   Copyright 1995 by Devont Software Inc. and Jim Tyson.  All
  6.   rights reserved.
  7.  
  8. }
  9.  
  10.     type
  11.       TNWDSAttrRights = record   {masks on spec p.39}
  12.         compare    : boolean ;
  13.         read       : boolean ;
  14.         write      : boolean ;
  15.         self       : boolean ;
  16.         supervisor : boolean ;
  17.     end;
  18.  
  19.     type
  20.       TNWDSEntryRights = record
  21.         browse     : boolean ;
  22.         add        : boolean ;
  23.         delete     : boolean ;
  24.         rename     : boolean ;
  25.         supervisor : boolean ;
  26.     end;
  27.  
  28.     type
  29.       TNWDSSMSRights = record
  30.         scan       : boolean ;
  31.         backup     : boolean ;
  32.         restore    : boolean ;
  33.         rename     : boolean ;
  34.         delete     : boolean ;
  35.         admin      : boolean ;
  36.     end;
  37.  
  38.     function NDSInit : boolean ;
  39.     function NDSClose : boolean ;
  40.     function NDSGetServerDN(nServer : TNWConnHandle) : string ;
  41.     function NDSGetBinderyContextName(nServer : TNWConnHandle) : string ;
  42.     function NDSGetContextName : string ;
  43.     function NDSSetContextName(ctext : string ) : TNWDSContextHandle ;
  44.     function NDSList(cname : string) : TStringList ;  { gpf- no workie }
  45.     function NDSAbbreviateName(cname : string) : string ;
  46.     function NDSExpandName(cname : string) : string ;
  47.     function NDSWhoAmI : string ;
  48.     function NDSLogin(cname, cPassword : string) : boolean ;
  49.     function NDSLogout : boolean ;
  50.     function NDSPassCheck(cname, cPassword : string) : boolean ;
  51.     function NDSGetRootName(cobject : string) : string ;
  52.     function NDSFreeContext(context : TNWDSContextHandle) : boolean ;
  53.     function NDSGetContextHandle : TNWDSContextHandle ;
  54.     function NDSCopyContext(inContext : TNWDSContextHandle) : TNWDSContextHandle ;
  55.     function NDSGetObjID(var nServer : TNWConnHandle ;
  56.                          cname : string) : TObjID ;
  57.     function NDSGetAttrRights(cSource,cTarget : string ;
  58.                          var attrRights : TNWDSAttrRights) : boolean ;
  59.     function NDSGetSMSRights(cSource, cTarget : string ;
  60.                          var smsRights : TNWDSsmsRights) : boolean ;
  61.     function NDSGetEntryRights(cSource, cTarget : string ;
  62.                          var entryRights : TNWDSEntryRights) : boolean ;
  63.